package cn.com.chengmandian.core.web.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "cmd.oss")
public class OssProperties {

    private boolean enable = false;
    private String endpoint;
    private String cdnDomain;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucket;
}
